package parttern.state;

public class PlayState implements State {
    @Override
    public void doAction(Context context) {
        System.out.println("当前正在播放");
        context.setState(this);
    }

    @Override
    public void showState() {
        System.out.println("state->play");
    }
}
